//
//  UIButton+SMWebCache.h
//  smzdm_lib
//
//  Created by tom on 16/5/19.
//  Copyright © 2016年 sm. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (SMWebCache)
- (void)sm_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder;
- (void)sm_setImageWithString:(NSString *) str  forState:(UIControlState)state placeholderImage:(UIImage *)placeholder;

- (void)sm_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder;
- (void)sm_setBackgroundImageWithString:(NSString *) str  forState:(UIControlState)state placeholderImage:(UIImage *)placeholder;

@end
